<%@page contentType="text/html; charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title>带参数的forward动作标记2</title>
</head>
<body bgcolor="#000fff">
<%
   // 获取forward页面传递过来的数据
    String name = request.getParameter("username");
    String pw = request.getParameter("passWord");
    out.println("你的用户名是:"+name);
    out.println("你的用户名是:"+pw);
%>
</body>
</html>